package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓库库存信息表
 * </p>
 *
 * @author Wayne
 * @since 2021-01-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WHS_INVENTORY_INFO")
@ApiModel(value="WhsInventoryInfo对象", description="仓库库存信息表")
public class WhsInventoryInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工厂代码")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "仓储地点代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "物料编码")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "物料中文描述")
    @TableField("MATERIAL_ZH_DESC")
    private String materialZhDesc;

    @ApiModelProperty(value = "物料英文描述")
    @TableField("MATERIAL_EN_DESC")
    private String materialEnDesc;

    @ApiModelProperty(value = "基本单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "仓库库存数量")
    @TableField("QUANTITY")
    private Double quantity;

    @ApiModelProperty(value = "安全库存数量")
    @TableField("SAFETY_QUANTITY")
    private Double safetyQuantity;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "箱码-仅用于自管仓备件货管理")
    @TableField("BOX_NOTE")
    private String boxNote;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getWerks() {
        return werks;
    }

    public void setWerks(String werks) {
        this.werks = werks;
    }

    public String getWhsLocationCode() {
        return whsLocationCode;
    }

    public void setWhsLocationCode(String whsLocationCode) {
        this.whsLocationCode = whsLocationCode;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getMaterialZhDesc() {
        return materialZhDesc;
    }

    public void setMaterialZhDesc(String materialZhDesc) {
        this.materialZhDesc = materialZhDesc;
    }

    public String getMaterialEnDesc() {
        return materialEnDesc;
    }

    public void setMaterialEnDesc(String materialEnDesc) {
        this.materialEnDesc = materialEnDesc;
    }

    public String getBasicUnit() {
        return basicUnit;
    }

    public void setBasicUnit(String basicUnit) {
        this.basicUnit = basicUnit;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public Double getSafetyQuantity() {
        return safetyQuantity;
    }

    public void setSafetyQuantity(Double safetyQuantity) {
        this.safetyQuantity = safetyQuantity;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getBoxNote() {
        return boxNote;
    }

    public void setBoxNote(String boxNote) {
        this.boxNote = boxNote;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
